package lab02.test12;

public class Test12 {
    public static void main(String[] args) {
        Rectangular r = new Rectangular(3,5);
        System.out.println("面积："+r.area()+"\n"+"周长："+r.perimeter());

        Circle c = new Circle(3);
        System.out.println("面积："+c.area()+"\n"+"周长："+c.perimeter());

    }
}
